Fixed banimport not correctly logging to database