Some fixes to Maass forms databade code