Fixed 'has paid' query

Signed-off-by: dradancer <kuba.zarybnicky@post.cz>