Fixed insertion of blank/incorrect offset for database input
Added more information for error on no insertion