Fixed minor mistake where activities were checked before weights.
Fixed minor mistake where activities were checked before weights.

ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history