Removed PMD warnings
Removed multiple prepared stmt