null query error

checking for $query > 0 rather than just $query
Merge branch 'master' of https://github.com/stefwilliams/bp-group-messager

Conflicts:
	bp-group-messager.php