Switched to pre-compiled prepared statements