Stripped weeks if they are from next or previous month

Trim this in start:
http://i.imgur.com/jRN98Gj.png

Trim this in the end:
http://i.imgur.com/2W8yqSf.png