Community signatures: fixed hibernate SELECT query, integration test passes.