Fixed Database::limit()
Code cleanup