Update GetCurrentBadges.sql

Fixes #33. Thanks @hvammen