Fix bug in StartsWithAny causing incorrect sending of a position if no match found.
Attempt to reconnect to database if connection is closed.
Update items.yml to be fully 1.7 compatible.