Improved database name filtering on recover command.

- Will now work if you have databases that start with the same name (e.g. dbOne, dbOneTwo)