Fixed error where rowCount() (PDO) is used for SELECT statements.