Fixed two cases where dbdats were not being pushed back on stack when done