Check to make sure Router.current has limit

Not sure if this is a bug or not, but it seems that what is happening is that the router gets run causing some data source to change, that change causes the postsList  template to rerender but when it does the router has already switched to the next route and no longer has a limit. That is where the error is coming from. I just added a check to the helper to make sure there is a limit function before calling it and it works now. You might try to figure out which data is changing to cause that template to rerender like that and that will fix the problem the proper way. For now this will get moving forward.