Fix wrong shares being assigned as found block

solution should be in where clause, not in set :)
FROM_UNIXTIME rounds time to seconds, and if that same user had more that one share in that second, bug will pop out