add self::first() and self::last() on DatabaseObject Class
fix querying the record (Cvhdr) for /report/check-print by filtering if is_uuid()
fix querying the record (Apvhdr) for /report/a-p-print by filtering if is_uuid()